package com.ctshk.rpc.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 基础数据字段表
 * </p>
 *
 * @author 谢诗宏
 * @since 2020-12-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_main_data_field")
@ApiModel(value="MainDataField对象", description="基础数据字段表")
public class MainDataField extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属表")
    private Long tableId;

    @ApiModelProperty(value = "字段名称")
    private String fieldName;

    @ApiModelProperty(value = "默认值")
    private String defaultValue;

    @ApiModelProperty(value = "是否系统强制参数")
    private Integer isFixed;

    @ApiModelProperty(value = "字段正则")
    private String fieldRegex;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value = "状态 （0 启用 1禁用）")
    private Integer status;

}
